<script setup lang="ts">
var user = {"name": "张三","age": 18,"gender": "男"}
</script>

<template>
  <h1>用户信息</h1>
  <h3>姓名：{{ user.name }}</h3>  
  <h3>年龄：{{ user.age }}</h3>  
  <h3>性别：{{ user.gender }}</h3>  
</template>
